const express = require('express');
const router = express.Router();
const user_router=require('../router_handle/user.js')

// 登录页面
router.post('/login',user_router.login);
// 注册页面
router.post('/register', user_router.register);
//获取短信验证码
router.post('/getMsgCaptcha', user_router.getMsgCaptcha);
//电话登录
router.post('/phoneLogin', user_router.phoneLogin);
module.exports = router;